package com.jianyushe.gof23.learncode.creationalpattern.builder;

import org.junit.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @author Create by Alvin
 * @Description TODO
 * @date 2021-10-13 14:30
 */
public class Client01Test {
private static final Logger LOGGER = LoggerFactory.getLogger(Client01Test.class);

    @Test
    public void test(){
        AirshipDirectorImpl airshipDirector = new AirshipDirectorImpl(new JianYuSheAirshipBuilder());
        Airship airship = airshipDirector.directorAirship();

        LOGGER.info(airship.getEngine().getName());
    }
}
